<div class="bg-white border-bottom">
  <div class="card-body">
    <h2 class="py-2 h5">
      <a class="{$cms.cms_color|cmsColor}" href="{:cmsUrlDetail($cms)}">{$cms.info_name|cmsSubstr=0,50}</a>
    </h2>
    <p>{$cms.info_create_time|substr=0,11}{foreach name="cms.category" item="category"}<a class="ml-1 text-purple" href="{:cmsUrlCategory($category)}">{$category.term_name}</a>{/foreach}</p>
    <p class="card-text">{$cms.info_excerpt|DcHtml}</p>
    <p class="mb-0">
      <a class="text-purple" href="{:cmsUrlDetail($cms)}">查看全文<i class="fa fa-angle-double-right mx-1"></i></a>
    </p>
  </div>
</div>